home *** CD-ROM | disk | FTP | other *** search
/ Nautilus 1992 July / Nautilus-3-8 / Nautilus-3-8.bin / Tools & Utilities / Techy Stuff / Frontier Scripts / states.nthState (n) < prev    next >
Encoding:
Text File  |  1992-06-12  |  348 b   |  12 lines

  1. Enclosure: suites.states
  2.  
  3. Here's a little suite -- no menu -- it implements one verb (or "function" as
  4. someone here asked us to call them) called states.nthState (n) -- it returns
  5. the name of the nth United state, sorted alphabetically. To display all 50
  6. states:
  7.  
  8.     loop (n = 1; n <= 50; n++) {msg (states.nthState (n))}
  9.  
  10. DW
  11. Author: EL.GRANDE
  12.